package com.backup.bean;

import java.io.File;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class FileObject implements Serializable{
	
	private static final long serialVersionUID = -8456403977671538773L;
	private String filename;
	private File srcPath;
	private File targetPath;
	private String srcPathStr;
	private String targetPathStr;
	/**子文件列表*/
	private List<File> childrenFile = new ArrayList<File>();
	/**子文件夹列表*/
	private List<File> childrenFolder = new ArrayList<File>();
	public String getFilename() {
		return filename;
	}
	public void setFilename(String filename) {
		this.filename = filename;
	}
	public File getSrcPath() {
		return srcPath;
	}
	public void setSrcPath(File srcPath) {
		this.srcPath = srcPath;
		this.srcPathStr = srcPath.getPath();
	}
	public File getTargetPath() {
		return targetPath;
	}
	public void setTargetPath(File targetPath) {
		this.targetPath = targetPath;
		this.targetPathStr = targetPath.getPath();
	}
	public List<File> getChildrenFile() {
		return childrenFile;
	}
	public void setChildrenFile(List<File> childrenFile) {
		this.childrenFile = childrenFile;
	}
	public List<File> getChildrenFolder() {
		return childrenFolder;
	}
	public void setChildrenFolder(List<File> childrenFolder) {
		this.childrenFolder = childrenFolder;
	}
	public String getSrcPathStr() {
		return srcPathStr;
	}
	public String getTargetPathStr() {
		return targetPathStr;
	}
	
}
